﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using RuleCode.Table;

namespace map.member
{
    public partial class position : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string zlong="0";
                string zlat = "0";
                if (Request.Params["zlong"] != null)
                {
                    zlong = Request.Params["zlong"].ToString();
                }
                if (Request.Params["zlat"] != null)
                {
                    zlat = Request.Params["zlat"].ToString();
                }
                if (Request.Params["ztitle"] != null)
                {
                    Title = Request.Params["ztitle"].ToString();
                }
                string ScriptTag = 
                    "initialize('" + zlong + "','"
                    + zlat + "');";
                ScriptManager.RegisterStartupScript(
                this.Page, this.Page.GetType(), "bodyevent3333", ScriptTag, true);
            }
        }
    }
}
